<%@ page language="java" contentType="text/html; charset=UTF-8"
			    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>关于我单页-杨青青个人博客模板主题《今夕何夕》</title>
<meta name="keywords" content="blog" />
<meta name="description" content="blog" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript">
	    function resetForm() {
			$('#registerForm').data('bootstrapValidator').resetForm(true);
		}
</script>


<link href="${pageContext.request.contextPath}/css/base.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/css/m.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/js/comm.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.2.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css" />
<script src="${pageContext.request.contextPath}/js/comm.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
</head>
<body>
<!--top begin-->
<header id="header">
  <div class="navbox">
    <h2 id="mnavh"><span class="navicon"></span></h2>
    <div class="logo"><a href="http://www.yangqq.com">校园资料共享墙</a></div>
    <nav>
      <ul id="starlist">
        <li><a href="${pageContext.request.contextPath }/data/listPage">首页</a></li>
        <li><a href="${pageContext.request.contextPath }/data/listPage">资料浏览</a></li>
        <li><a href="${pageContext.request.contextPath }/data/listPage">文件下载</a></li>
        <li class="menu"><a href="list.html">资料分类</a>
          <ul class="sub">
            <li><a href="${pageContext.request.contextPath }/data/listPage">工科资料</a></li>
            <li><a href="${pageContext.request.contextPath }/data/listPage">医学资料</a></li>
            <li><a href="${pageContext.request.contextPath }/data/listPage">文科资料</a></li>
          </ul>
          <span></span>
        </li>
        <!--我的博客 登陆之后可用
        	<li><a href="#">优秀人博客</a></li>
        -->
        <li class="menu"><a href="list.html">我的资料</a>
          <ul class="sub">
            <li><a href="${pageContext.request.contextPath }/addData/toAddBolgUI">发布资料</a></li>
            <li><a href="/7">管理资料</a></li>
            <li><a href="/8">我的收藏</a></li>
            <li><a href="/8">我的关注</a></li>
            <li><a href="${pageContext.request.contextPath }/userRevise/updateInformationUI">个人中心</a></li>
            <li><a href="${pageContext.request.contextPath }/userRevise/updateInformationUI.do">个人中心</a></li>
          </ul>
          <span></span>
        </li>
        <!--<li><a href="list.html">我的博客</a></li>-->
        <li><a href="${pageContext.request.contextPath }/user/loginUI.do">登陆/注册</a></li>
        <li><a href="${pageContext.request.contextPath }/user/toLogout.do">注销</a></li>
      </ul>
    </nav>
    <div class="searchico"></div>
  </div>
</header>
<div class="searchbox">
  <div class="search">
    <form action="/e/search/index.php" method="post" name="searchform" id="searchform">
      <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
      <input name="show" value="title" type="hidden">
      <input name="tempid" value="1" type="hidden">
      <input name="tbname" value="news" type="hidden">
      <input name="Submit" class="input_submit" value="搜索" type="submit">
    </form>
  </div>
  <div class="searchclose"></div>
</div>

	<article>
	  	<div class="whitebg about">
			  		<div class="container">
				<form id="registerForm" class="form-horizontal" action="${pageContext.request.contextPath }/addData/toAddBolg" method="post">
				  <div class="form-group header">
				  </div>
				  <div class="form-group">
				    <label for="title" class="col-sm-2 control-label">文章标题</label>
				    <div class="col-sm-6">
				      <input type="text" class="form-control" id="blogtitle" name="blogtitle" placeholder="请输入资料标题">
				    </div>
				  </div> 
				  
				  <div class="form-group">
				    <label for="content" class="col-sm-2 control-label">文章内容</label> 
				    <div class="col-sm-6">
				    <textarea name="describle" id="describle" form="registerForm" rows="5" cols="77"></textarea>
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="content" class="col-sm-2 control-label">文件云地址</label>
				    <div class="col-sm-3">
				    <input type="text" class="form-control" id="dataurl" name="dataurl" placeholder="请输入百度云地址" value="${dataurl}">
				    </div>
				    <!--<div class="col-sm-3">
						    <form name="serForm" action="/SpringMVC006/fileUpload" method="post"  enctype="multipart/form-data">
								<input type="file" name="file"/>
								<input type="submit" value="upload"/>
						    </form>
				    </div>-->
				    <label for="type" class="col-sm-1 control-label">文件类型</label>
				    <div class="col-sm-4">
				    <div class="form-group">
				    <select id="blogdatatype"  name="blogdatatype">
				    <option value="工学资料">
						工学资料
						</option >
						<option value="理学资料">
						理学资料
						</option>
						<option value="医学资料">
						医学资料
						</option>
				    </select>
				    </div>
				  </div> 
				  
				  <div class="form-group">
				      <div class="col-sm-offset-2 col-sm-6">
					      <button type="submit" class="btn btn-primary">添加</button>
					      <button type="reset" class="btn btn-primary" onclick="javascript:resetForm();">重置</button>
				      </div>
				  </div>
				</form>
				
			</div>
				<div class="form-group">
				  	  <label for="content" class="col-sm-6 control-label">文件地址</label> 
				    <div class="col-sm-3">
					    <form name="serForm" action="${pageContext.request.contextPath}/fileUpload" method="post"  enctype="multipart/form-data">
									<input type="file" name="file"/>
									<input type="submit" value="upload"/>
									${fileout}
					    </form>
					</div>
				 </div>
			  <div>
        </div>
  		</div>
	</article>
	<!--最后-->
	<footer>
	  <div class="box">
	    <div class="wxbox">
	      <ul>
	        <li><img src="{ctx}/images/wxgzh.jpg"><span>微信公众号</span></li>
	        <li><img src="{ctx}/images/wx.png"><span>我的微信</span></li>
	      </ul>
	    </div>
	    <div class="endnav">
	      <p><b>站点声明：</b></p>
	      <p>1、本站个人博客模板，均为杨青青本人设计，个人可以使用，但是未经许可不得用于任何商业目的。</p>
	      <p>2、所有文章未经授权禁止转载、摘编、复制或建立镜像，如有违反，追究法律责任。举报邮箱：<a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=HHh9cn95b3F1cHVye1xtbTJ-c3E" target="_blank">dacesmiling@qq.com</a></p>
	      <p>Copyright © <a href="http://www.yangqq.com" target="_blank">www.yangqq.com</a> All Rights Reserved. 备案号：<a href="http://www.miitbeian.gov.cn/" target="_blank">蜀ICP备11002373号-1</a></p>
	    </div>
	  </div>
	  <a href="#">
	  <div class="top"></div>
	  </a> 
	</footer>
</body>
</html>
